package cn.iocoder.yudao.module.wine.controller.admin.teamtype.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 团长缴费等级分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TeamTypePageReqVO extends PageParam {

    @Schema(description = "缴费名称", example = "芋艿")
    private String name;

    @Schema(description = "缴费价格", example = "9417")
    private BigDecimal price;

    @Schema(description = "缴费原价", example = "9053")
    private BigDecimal originalPrice;

    @Schema(description = "类型图标")
    private String icon;

    @Schema(description = "会员权益")
    private String equities;

    @Schema(description = "佣金比例0-100")
    private BigDecimal commissionRate;

    @Schema(description = "期限类型  1月 2季 3半年 4年", example = "2")
    private Integer termType;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}